package com.bj58.mis.apm.apm.scf.mapper;

import com.bj58.mis.apm.apm.scf.module.RocAuthProject;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author zhangyu84
 * @create 2018/7/5
 * @since 1.0.0
 */
public interface RocAuthProjectRepository extends JpaRepository<RocAuthProject,Long> {
    @Override
    List<RocAuthProject> findAll();

    @Override
    void deleteAll();

    @Override
    List<RocAuthProject> findAll(Sort sort);

    @Override
    <S extends RocAuthProject> List<S> saveAll(Iterable<S> iterable);

    @Override
    void deleteInBatch(Iterable<RocAuthProject> iterable);




    @Override
    RocAuthProject getOne(Long aLong);

    void deleteRocAuthProjectsByProjectId(String projectId);

    List<RocAuthProject> getRocAuthProjectsByProjectId(String projectId);

}
